package com.zjb.demo.common.constant;

/**
 * 权限相关通用常量
 *
 * @author 庄佳彬
 * @since 2023/12/28 20:08
 */
public class SecurityConstants {
    /**
     * 用户ID字段
     */
    public static final String DETAILS_USER_ID = "user_id";

    /**
     * 用户名字段
     */
    public static final String DETAILS_USERNAME = "username";

    /**
     * 用于重新获取用户信息的token
     */
    public static final String REFRESH_KEY = "refresh_key";


    /**
     * 用户标识
     */
    public static final String USER_KEY = "user_key";
    /**
     * 私钥
     */
    public static final String PRIVATE_KEY = "MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBALm2vmCD7xL0gnPIWearKxNoX7v1rWUKYP8Lx3NWPl8YHS2raznoDU8R+fnFUoTa8zMkzKpPR1no9pZFRbfCPCszVkTkCBqe7bO0zIfIOiyzulv23UfJSOqj4/+rQahdNnfcAPYmHCIVegDD6nOnaqltTDKaUNhpJaZCSNVX4yIvAgMBAAECgYAdAFRd3sc7OY2++6mhDlfivFOUQaW7TVH1DOeFCRHNEzHzS31U2fpsv6I+3A6qipqcq6wpEx+nAxdcQ3huCC9m9xlKtOOR8pYL6sN63ay3uZRL/umoRsXulKyemXjWD3ZfRFdTmSubuwugrw+eHA2rSbokFNHsvjrW9n/MaUUxeQJBAPUBxPQWZapIu7c2z375Z3iNMLai66UWAQz5sozrwwWmBjx8zCw414XAr0A/GNRoDNmF9/EbOZWbGrwM66keKVsCQQDCC+oZj256uiJvesfoV9cCMcHSFYKCnNIPs7saIXH4glfB9C1uqfqK3t73kU+kmS+5SMxAN8Yxuo71nklCRO69AkEAtmvm1UaH083r1nJ89DGGlP+rMZEEmxpTFfIku0AfKOmA4zCYZKS989yPn+pa9muyhZN2FJMMwROHSFTmcjj+2QJBALjuFerKMSYxYkQQJZierkBfHzKSYVENF3zzcysSGMYXon8rsGi5Ahd7E8+o4tghTcQtRssk3HPkMf6PHY5Ul5kCQBOb19C8bnhWRH8OpmhCpb6SEH8mjLkOIDMXtSHVFzPh0FMalyFIvtHqq9u/moZJ4PZ3dBJJm0e03jmNFwwCY70=";

}
